<?php
namespace app\warehouse\controller;

use think\Db; 
class Move extends Base{

	public function in(){
        //echo "index";
        return view('in');
    }
	public function out(){
        $key = input("post.key");
        $list = Db::table('warehouse_item')
                ->where('name|note','like','%'.$key.'%')
                ->select();
        //var_dump($list);
        //$map[]
        //$list = $wi->search($key);
        $this->assign('list',$list);
        return view('out');
    }
}